#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>

int main()
{
	char ch1[80];
	char ch2[80];
	int i = 0;
	int k = 0;
	int j = 0;
	gets(ch1);
	int len = strlen(ch1);
	for (i = 0; i < len; i++)
	{
		if (ch1[i] != ' ')
			ch2[k++] = ch1[i];
	}
	for (j = 0; j < k; j++)
	{
		printf("%c", ch2[j]);
	}
	return 0;
}